// 导入 axios 实例对象
import request from '@/request/request.js'

// 商家销售统计
export const getCrossBarData = () => {
  return request.get('seller')
}

// 销量趋势
export const getMerchants = () => {
  return request.get('trend')
}

// 商家分布
export const getMapData = () => {
  return request.get('map')
}

// 销量排行
export const getRankData = () => {
  return request.get('rank')
}

// 热销商品
export const getHotData = () => {
  return request.get('hotproduct')
}

// 库存与销量
export const getStockData = () => {
  return request.get('stock')
}
